package org.dppc.fine4j.proxychain.support;

/**
 * 类型错误
 * 
 * @author maomh
 *
 */
public class TypeErrorException extends Exception {
	private static final long serialVersionUID = 7524050376573589987L;
	
	private Class<?> targetClass;
	
	public TypeErrorException(Class<?> targetClass) {
		super("该类型与目标类型[" +targetClass.getName() +"]不匹配！");
		this.targetClass =targetClass;
	}
	
	public Class<?> getTargetClass() {
		return targetClass;
	}
}
